﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Interop.Security.AzRoles;
using System.Runtime.InteropServices;

namespace Authorization
{
    //[ClassInterface((short)0), Guid("9030BAA9-B3E5-4cf2-BB59-139ED0C9B8FA"), TypeLibType((short)2)]
    
    [Guid("9030BAA9-B3E5-4cf2-BB59-139ED0C9B8FA")]
    class CustomPrincipalLocator : IAzPrincipalLocator, AzPrincipalLocator
    {

        private CustomObjectPicker customObjectPicker;
        private CustomNameResolver customNameResolver;

        #region IAzPrincipalLocator Members

        public CustomPrincipalLocator()
        {
            customObjectPicker = new CustomObjectPicker();
            customNameResolver = new CustomNameResolver();
        }

        public IAzNameResolver NameResolver
        {
            get { return customNameResolver; }
        }

        public IAzObjectPicker ObjectPicker
        {
            get { return customObjectPicker; }
        }

        #endregion
    }
}
